<?php
ob_start();
	include 'connect/connect.php';
	check_admin();
	include 'class/class.giangvien.php';
	$giangvien = new giangvien;
	$f_hovaten = $_POST['f_hovaten'];
	$f_tuoi = $_POST['f_tuoi'];
	$f_gioitinh = $_POST['f_gioitinh'];
	$f_diachi = $_POST['f_diachi'];
	$f_car = $_POST['f_car'];
	$sdt = $_POST['sdt'];
	$mail = $_POST['mail'];
	$f_chuyenloaihinh = $_POST['f_chuyenloaihinh'];
	$f_phanmemsudung = $_POST['f_phanmemsudung'];
	$giangvien->add_giangvien($f_car,$f_hovaten,$f_gioitinh,$f_tuoi,$f_diachi,$f_chuyenloaihinh, $f_phanmemsudung,$sdt,$mail);
	
?>